-- GENERATED SPELL FOR [Foulweald Shaman] --


function spell0_3748(pUnit, Event) --@Strength of Earth Totem,Self--
pUnit:FullCastSpellOnTarget(8160,pUnit)
pUnit:RegisterEvent('Sorts_3748', 599, 1)
end

function Sorts_3748(pUnit, Event)
local choix_sorts_3748 = math.random(0, 0)
if choix_sorts_3748 == 0 then
pUnit:RegisterEvent('spell0_3748', 1, 1)
end
end

function mob3748_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_3748', math.random(1500, 3000), 1)
end

function mob3748_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob3748_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob3748_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(3748, 1, 'mob3748_Action')
RegisterUnitEvent(3748, 2, 'mob3748_Leave')
RegisterUnitEvent(3748, 3, 'mob3748_Kill')
RegisterUnitEvent(3748, 4, 'mob3748_Die')
